<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML>
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>增加子导航</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<link rel="stylesheet" type="text/css"
			href="<%=basePath%>jslib/bootstrap/css/bootstrap.css">
		<link rel="stylesheet" type="text/css"
			href="<%=basePath%>css/theme.css">
		<link rel="stylesheet"
			href="<%=basePath%>jslib/font-awesome/css/font-awesome.css">
		<script src="<%=basePath%>jslib/jquery-1.7.2.min.js"
			type="text/javascript"></script>
	

  </head>
  
 <body class="content1">
		<div class="header">
			<h1 class="page-title">
				新增一级导航
			</h1>
		</div>

		<ul class="breadcrumb">
			<li>
				<a href="index.html">一级导航管理</a>
				<span class="divider">/</span>
			</li>
			<li class="active">
				新增一级导航
			</li>
		</ul>

		<div class="container-fluid">
			<div class="row-fluid">
				<form method="post" action="<%=basePath%>sys/nav?cmd=addsub">
					<div class="btn-toolbar">
						<input type="submit" class="btn btn-primary" value="保存 ">
						<a href="<%=basePath%>sys/nav?cmd=listfirst" class="btn">取消</a>

					</div>

					<div class="well">
						<div class="tab-pane active in">
							<label>
								父导航名称：
							</label>
							<input type="text" name="pname" value="${param.pname}" readonly="readonly">
							<input type="hidden" name="pid" value="${param.pid}"/>
							<label>
								导航名称：
							</label>
							<input type="text" name="name" maxlength="10">
							<label>
								排序序号：
							</label>
							<input type="text" name="orders" maxlength="20">
							<input type="hidden" name="accordion" value="0"/>
							<label>
								状态
							</label>
							<select  name="navstate" >
									<option value="1" >正常</option>
									<option value="0" >禁用</option>
							</select>
							
							<div style="color: red">
								${msg}
							</div>
						</div>
					</div>
				</form>
			</div>
		</div>
	</body>
</html>
